<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/jquery-1.12.4.js"></script>
</head>
<body>
<div id="div1">
    <p>王向阳开着两座法拉利</p>
    <p>副驾驶坐着王国斌</p>
    <p>王向阳腿上坐着张世昌</p>
    <p>一路经过减速带.....你懂的duang duang duang</p>
</div>

<div id="div2">
    <p>张恒喜欢张泸方</p>
    <p>张泸方暗恋李佳成</p>
    <p>李佳成心里装着张恒</p>
    <p>但是李佳成选择了米龙亮</p>
</div>
<button id="remove">remove</button>
<button id="empty">empty</button>
<script type="text/javascript">
    $("#remove").click(function () {
        $("#div1").remove()
    })
    $("#empty").click(function () {
        $("#div2").empty()
    })
</script>
</body>
</html>